package com.chaos.order.api.dto.pay.request;

import com.chaos.order.api.dto.pay.BasePay;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 支付请求
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class PayRequest extends BasePay {
    /**
     * 回调通知接口
     */
    private String notifyUrl;

    /**
     * 商品描述, 如预付定金
     */
    private String body;
    /**
     * 商品id()
     */
    private String skuId;

    private Byte skuType;
    /**
     * 终端IP
     */
    private String spbillCreateIp;
    /**
     * 返回结果的 xml 字符串
     */
    private String xmlData;
    /**
     * 支付授权码--小程序支付时使用
     */
    private String authCode;

    @ApiModelProperty(value = "苹果内购商品id", required = false)
    private String productId;

    @ApiModelProperty(value = "苹果内购交易id", required = false)
    private String transactionId;

    @ApiModelProperty(value = "苹果内购上传凭证", required = false)
    private String receipt;

    @ApiModelProperty(value = "服务内部约定的加密秘钥", required = false)
    private String secret;


}
